package com.enjoyor.soa.traffic.core.tsms.enums;

/**
 * 特勤管理字典枚举
 * 
 * @author fzj
 *
 */
public enum EnumDicPublic {
	/**
     * 方案状态：待提交、待审核、审核通过、审核不通过
     */
    WAITSUBMIT("SCHEMESTATUS01", "待提交"),
    WAITCHECK("SCHEMESTATUS02", "待审核"),
    CHECKPASS("SCHEMESTATUS03", "审核通过"),
    CHECKREJECT("SCHEMESTATUS04", "审核不通过"),
	/**
     * 任务类型：警卫任务、快速特勤
     */
    TYPE_COMMON("TASKTYPE01", "警卫任务"),
    TYPE_FAST("TASKTYPE02", "快速特勤"),
    /**
     * 任务类别：单次任务、日常任务
     */
    CLASS_REPEAT("TASKCLASS01", "日常任务"),
    CLASS_ONCE("TASKCLASS02", "单次任务"),
    /**
     * 任务执行周期：每天、自定义、周一、周二、周三、周四、周五、周六、周日
     */
    PERIOD_EVERYDAY("TASKPERIOD01", "每天"),
    PERIOD_CUSTOM("TASKPERIOD02", "自定义"),
    PERIOD_MONDAY("TASKPERIOD03", "周一"),
    PERIOD_TUESDAY("TASKPERIOD04", "周二"),
    PERIOD_WEDNESDAY("TASKPERIOD05", "周三"),
    PERIOD_THURSDAY("TASKPERIOD06", "周四"),
    PERIOD_FRIDAY("TASKPERIOD07", "周五"),
    PERIOD_SATURDAY("TASKPERIOD08", "周六"),
    PERIOD_SUNDAY("TASKPERIOD09", "周日"),
    /**
     * 执行任务状态：待执行、执行中、已完成
     */
    EXECUTE_WAIT("EXECUTESTATUS01", "待执行"),
    EXECUTE_RUNNING("EXECUTESTATUS02", "执行中"),
    EXECUTE_FINISH("EXECUTESTATUS03", "已完成"),
    
    /**
     * 线路类型：执行线路、备用线路
     */
    ROUTE_EXECUTE("ROUTETYPE01", "执行线路"),
    ROUTE_STANDBY("ROUTETYPE02", "备用线路"),
    
    /**
     * 途径点类型：起点、途径点、停留点、终点
     */
    ROUTE_START("ROUTEPOINTTYPE01", "起点"),
    ROUTE_PATHWAY("ROUTEPOINTTYPE02", "途径点"),
    ROUTE_STOP("ROUTEPOINTTYPE03", "停留点"),
    ROUTE_TARGET("ROUTEPOINTTYPE04", "终点"),
    ROUTE_BAYONET("ROUTEPOINTTYPE05", "卡口点"),
    ROUTE_CROSS("ROUTEPOINTTYPE06", "路口点"),
    
    /**
     * 方案执行记录类型
     */
    INFO_START_EXECUTE("START_EXECUTE", "开始执行"),
    INFO_END_EXECUTE("END_EXECUTE", "执行结束"),
    INFO_START_MONITOR("START_MONITOR", "开始监测"),
    INFO_ROUTE_RECOVER("ROUTE_RECOVER", "线路回归"),
    INFO_ROUTE_CHANGE("ROUTE_CHANGE", "线路回归"),
    INFO_VIDEO_CONTROL("VIDEO_CONTROL", "视频控制"),
    INFO_SIGNAL_CONTROL("SIGNAL_CONTROL", "信号机控制"),
    INFO_EXPECT_EXECUTE("EXPECT_EXECUTE", "预测执行"),
    /**
     * 方案执行报警类型
     */
    WRAN_POSITION_OFF("POSITION_OFF", "定位离线"),
    WRAN_POSITION_DELAY("POSITION_DELAY", "定位延迟"),
    WRAN_POLICE_OFF("POLICE_OFF", "警员离线"),
    WRAN_VIDEO_OFF("VIDEO_OFF", "视频离线"),
    WRAN_VIDEO_CLASH("VIDEO_CLASH", "视频冲突"),
    WRAN_SIGNAL_OFF("SIGNAL_OFF", "信号机离线"),
    WRAN_SIGNAL_CLASH("SIGNAL_CLASH", "信号机冲突"),
    WRAN_ROUTE_DEVIATE("ROUTE_DEVIATE", "线路偏离"),
    WRAN_TIME_DEVIATE("TIME_DEVIATE", "时间偏离"),
    WRAN_DISTANCE_CLASH("DISTANCE_CLASH", "距离冲突"),
    WRAN_EXPECT_CLASH("EXPECT_CLASH", "预测冲突"),
    
    /**
     * 预演冲突类型
     */
    /*CLASH_ROUTE("CLASH_ROUTE", "线路冲突"),
    CLASH_VIDEO("CLASH_VIDEO", "视频抢占"),
    CLASH_SIGNAL("CLASH_SIGNAL", "信号机抢占"),*/
    
    /**
     * 关联设备类型：视频监控、信号机
     */
    DEVICE_TYPE_VEDIO("RLTDEVICETYPE01", "视频监控"),
    DEVICE_TYPE_SIGNAL("RLTDEVICETYPE02", "信号机"),
    
    /**
     * 警员点名状态：到岗、离岗
     */
    POLICE_ON_POST("POLICESTATUS01", "到岗"),
    POLICE_OUT_POST("POLICESTATUS02", "离岗");

    private final String key;

    private final String value;

    private EnumDicPublic(String key, String value) {
        this.key = key;
        this.value = value;
    }

    public String getKey() {
        return this.key;
    }

    public String getValue() {
        return this.value;
    }

    public String toString() {
        return this.name();
    }
}
